Graphics.DrawRect Method

Draws the outline of a rectangle in the current color. X and Y are the coordinates of the top-left corner.

Syntax

Graphics.DrawRect X, Y, Width, Height


Parameters

X

Integer

Y

Integer

Width

Integer

Height

Integer